package com.example.common.exception;

import lombok.Getter;

/**
 * @Author 王鹤蒲
 * @Date 2023 08 06
 */


@Getter
public class ServiceException extends RuntimeException{

    private Integer code;


    public ServiceException(Integer code,String msg){
         super(msg);
         this.code=code;
    }
}
